﻿




using System;
using Hotpot.Plugins.Validators;

namespace Hotpot.Plugins.Attributes
{
    public class DecimalRangeValidationAttribute : PropertyDefinitionAttribute
    {
        public DecimalRangeValidationAttribute(decimal start, decimal end)
            : base(new NumberRangeValidator(new PluginValidatorRange<decimal>() { Start = start, End = end }), "Validation")
        {
        }
    }
}
